package com.guigu.serviceorder;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.guigu"})
@EnableDiscoveryClient
@EnableFeignClients // 开启openFeign功能
@EnableScheduling
public class ServiceOrder6002 {
    public static void main(String[] args){
        SpringApplication.run(ServiceOrder6002.class,args);
    }
}
